package order;

import junit.framework.Assert;
import junit.framework.TestCase;

public class OrderStringTest extends TestCase {

	public void test1(){
		OrderString o = new OrderString("Oana", "banana", "320");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);		
	}
	
	public void test2(){
		OrderString o = new OrderString("Oana","320","banana");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);			
	}
	
	public void test3(){
		OrderString o = new OrderString("320","Oana","banana");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);		
	}
	
	public void test4(){
		OrderString o = new OrderString("320","banana","Oana");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);				
	}
	
	public void test5(){
		OrderString o = new OrderString("banana","Oana","320");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);			
	}
	
	public void test6(){
		OrderString o = new OrderString("banana","320","Oana");
		String s1 = o.get1st();
		String s2 = o.get2nd();
		String s3 = o.get3rd();
		Assert.assertEquals("320", s1);
		Assert.assertEquals("Oana", s2);
		Assert.assertEquals("banana", s3);				
	}
}
